/* department css */
.department .nav-link:hover {
    color: var(--rt-primary) !important;
}

.department .card-hover {
    transition: border-color 0.3s;
}

.department .card-hover:hover {
    border-color: var(--rt-primary) !important;
}

.department .sticky-top {
    z-index: 500;
}

.department .campus__life--single {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
    padding: 20px;
}

.department .campus__life--single .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.department .campus__life--single--flex {
    position: relative;
    z-index: 2;
}

.department .campus__life--single--button a i {
    color: white;
}

.department .campus__life--single--content h6,
.department .campus__life--single--content a {
    color: white;
}

.department .campus__life--single--button a {
    border: 1px solid white;
    color: white;
}

.department .campus__life--single--content a {
    text-decoration: none;
}

.department .sidebar {
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    border-right: 1px solid #ccc;
}

.department .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 300;
}

.department .nav-link {
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.department .main {
    padding: 2rem;
    overflow-y: auto;
}

.department .tab-content section {
    margin-bottom: 2rem;
}

@media (max-width: 1500px) {
    .department .message-section {
        max-width: calc(100% - 5rem);
    }
}

@media (max-width: 768px) {
    .department .message-body {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .department .menu-button {
        display: block;
    }

    .hod-photo {
        width: 150px;
        height: 150px;
    }
}

.department .menu-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    margin: 10px;
}

.department .nav-tabs .nav-link:hover {
    background-color: transparent;
    color: var(--rt-primary);
}

.department .news .card {
    border: 1px solid transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 150px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    margin-top: 4px;
    margin-bottom: 4px;
}

.department .news .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 1.5rem;
}

.department .card-icon {
    font-size: 3rem;
    color: var(--rt-primary);
    margin-bottom: 1rem;
}

.department .card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.department .card:hover {
    border-color: var(--rt-primary);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.department .card-icon i {
    font-size: 40px;
}

.department .nav-link.active {
    color: var(--rt-primary) !important;
}

:root {
    --color-header: #0d0d0d;
    --color-text: #404040;
    --color-btn-text: #3363ff;
    --color-btn-background: #e6ecff;
    --transition: .2s;
}

.department .act_card__wrapper {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.department .act_banner {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.department .act_banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.department .act_card__info {
    padding: 1rem;
    display: flex;
    height: 100px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.department .act_card__info span {
    color: var(--rt-primary);
    font-size: 16px;
    font-weight: 500;
}

.department .act_card__info p {
    color: #333;
    font-size: 13px;
    font-weight: 400;
}

@media (max-width: 576px) {
    .department .act_card {
        max-width: 100%;
    }

    .department .act_banner {
        height: 200px;
    }
}

.department .grid {
    display: grid;
    width: 80vw;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
}

@media (max-width: 60em) {
    .department .grid {
        grid-gap: 3rem;
    }
}

.department .modal-content {
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
}

.department .profile-card {
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    width: 36rem;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.department .profile-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 14rem;
    width: 100%;
    border-radius: 24px 24px 0 0;
    background-color: #B71A34;
}

.department .profile-card .image {
    border-radius: 50%;
    background-color: #B71A34;
    height: 15rem;
    margin-bottom: 2rem;
    padding: 0.3rem;
    width: 15rem;
    position: relative;
    z-index: 3;
}

.department .image img {
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.1rem;
    height: 100%;
    width: 100%;
}

.department .text-data p {
    margin-bottom: 2px;
}

.department .accordion-item {
    margin-bottom: 10px;
}

.department .accordion-button {
    font-size: 16px;
}

.department .accordion-body {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 15px;
}

.department .accordion-body::-webkit-scrollbar {
    width: 12px;
}

.department .accordion-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.department .accordion-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.department .accordion-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.department .accordion-body {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.department .accordion-button:not(.collapsed) {
    color: black;
    background-color: white;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.department .accordion-button:focus {
    -webkit-box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0);
}

.department .grid .card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: .4rem;
    padding: 2rem;
    overflow: hidden;
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, .1);
    cursor: pointer;
    transition: var(--transition);
}

.department .grid .card:hover {
    transform: translateY(-.5%);
    box-shadow: 0 4rem 8rem rgba(0, 0, 0, .2);
}

.department .grid .card__header {
    font-size: 2rem;
    font-weight: 500;
    color: var(--rt-heading);
}

.department .grid .card__btn:hover,
.department .grid .card__btn:active {
    background-color: #d4e0ff;
}

.department .rts-nbg-btn::before {
    position: absolute;
    content: "";
    width: 90%;
    height: 0px;
    background: var(--rt-primary-1);
    bottom: 0px;
    border-radius: 0px;
}

.department .grid .card__btn:hover span,
.department .grid .card__btn:active span {
    margin-left: 1.5rem;
}

.department .alumni .admission-content-top .application-deadline__content table tbody tr td {
    font-weight: 600;
    color: var(--rt-secondary);
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    .style-table {
        overflow-y: scroll;
    }
}

.style-table {
    margin-bottom: 30px;
}

.style-table thead {
    background: var(--rt-primary);
}

.style-table thead th {
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--rt-white);
    vertical-align: middle;
}

.style-table tbody {
    border: 1px solid var(--rt-line);
}

.style-table tbody tr {
    border-bottom: 1px solid var(--rt-line);
}

.style-table tbody tr td {
    padding: 15px 20px;
    color: var(--rt-body);
    vertical-align: middle;
}

.campus__life--single--description {
    font-size: 1.5rem;
}

.social-toggle-container { 
    position: fixed;
    top: 35%;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom {
    background-color: #890C25;
    color: white;
    font-size: 6px;
    text-transform: uppercase;
    text-align: center;
    padding: 4px 8px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    white-space: normal;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.social-toggle-button {
    background-color: #333;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

.social-toggle-button:hover {
    background-color: #555;
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.social-icons.show-icons {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
}

.social-icons.hide-icons {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.social-icons a {
    display: block;
    margin-bottom: 10px;
    color: white;
    background-color: #333;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-20px);
}

.social-icons.show-icons a {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.social-icons.hide-icons a {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
}

.social-icons a:nth-child(1) {
    transition-delay: 0.1s;
}
.social-icons a:nth-child(2) {
    transition-delay: 0.2s;
}
.social-icons a:nth-child(3) {
    transition-delay: 0.3s;
}
.social-icons a:nth-child(4) {
    transition-delay: 0.4s;
}
.social-icons a:nth-child(5) {
    transition-delay: 0.5s;
}
.social-icons a:nth-child(6) {
    transition-delay: 0.6s;
}

.social-icons a:hover {
    background-color: #555;
}

.social-icons .facebook {
    background-color: #3b5998;
}

.social-icons .twitter {
    background-color: #1da1f2;
}

.social-icons .instagram {
    background-color: #e4405f;
}

.social-icons .linkedin {
    background-color: #0077b5;
}

.social-icons .youtube {
    background-color: #ff0000;
}

@media screen and (max-width: 768px) {
    .social-toggle-button {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }

    .social-icons a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }

    .custom {
        font-size: 5px;
        padding: 3px 6px;
        min-width: 30px;
        min-height: 30px;
    }
}

.header-logo {
    width: 200px ;
    height: 49.6px;
}

#menu-btn {
    display: none;
}

@media (max-width: 1200px) {
    #menu-btn {
        display: block;
    }
}



/* carausel css  */
.carousel-item {
    position: relative;
}

.carousel-item img,
.carousel-item video {
    width: 100%;
    height: auto;
    background-size: cover;
}

.carousel-item video {
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.568), rgba(255, 255, 255, 0));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    position: relative;
}

/* Included carousel controls for navigation without any modifications to icons */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}


.alumni {
    max-width: 1100px;
    width: 100%;
    position: relative;
}

.alumni i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
    z-index: 10;
    /* Ensure icons are in front */
}


.alumni i:active {
    transform: translateY(-50%) scale(0.85);
}

.alumni i:first-child {
    left: -25px;
    /* Adjusted for proper spacing */
}

.alumni i:last-child {
    right: -25px;
    /* Adjusted for proper spacing */
}

.alumni .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 25px;
    /* Adjusted to accommodate arrow buttons */
}

.alumni .carousel::-webkit-scrollbar {
    display: none;
}

.alumni .carousel.no-transition {
    scroll-behavior: auto;
}

.alumni .carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.alumni .carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.alumni .carousel .card,
.alumni .carousel .img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.alumni .carousel .card {
    scroll-snap-align: start;
    height: 342px;
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alumni .carousel .card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.alumni .carousel .card .img {
    background: #890C25;
    height: 180px;
    width: 180px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alumni .card .img img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid #fff;
}

.alumni .carousel .card h6 {
    font-weight: 500;
    /* font-size: 1.56rem; */
    margin: 30px 0 5px;
    text-align: center;
}

.alumni .carousel .card span {
    color: #6a6d78;
    /* font-size: 1.31rem; */
    text-align: center;
}

.schools span {
    transform: rotate(-35deg);
    margin-left: 5px;
    display: inline-block;
    transition: var(--transition);
}


@media screen and (max-width: 900px) {
    .alumni .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}

@media screen and (max-width: 600px) {
    .alumni .carousel {
        grid-auto-columns: 100%;
    }
}


@media only screen and (min-width: 991px) and (max-width: 1200px) {
    #side-bar .mobile-menu-main {
        display: block;
    }
}

@media only screen and (min-width: 991px) and (max-width: 1200px) {
    #side-bar .inner-main-wrapper-desk {
        display: none;
    }
}

.rts-funfact.v__1 .rts-funfact-wrapper .single-cta-item:not(:last-child)::after {
    background: var(--rt-border);
    right: -90%;
}

.choose .img1 {
    background: url("../../../storage/files/home/Brief%20Profile%20of%20the%20university.jpg");
}

.choose .img2 {
    background: url("../../../storage/files/home/Unique%20Jesuit%20Campus.jpg");
}

.choose .img3 {
    background: url("../../../storage/files/home/Ranking%20and%20accolades.jpg");
}

.choose .img1,
.choose .img2,
.choose .img3 {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: background-color 1s ease;
}

.choose .img1::before,
.choose .img2::before,
.choose .img3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    ;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    z-index: 1;
}

.choose .img1:hover::before,
.choose .img2:hover::before,
.choose .img3:hover::before {
    transform: translateX(0);
}


.choose .campus__life--single--button a {
    border: 1px solid var(--rt-white) !important;
}

.choose .campus__life--single--button a i {
    color: var(--rt-white) !important;
}

.choose .campus__life--single:hover .campus__life--single--title a {
    color: var(--rt-secondary) !important;
}

.choose .campus__life--single:hover .campus__life--single--description {
    color: var(--rt-secondary) !important;
}

.choose .campus__life--single:hover .campus__life--single--button a {
    border: 1px solid var(--rt-secondary) !important;
}

.choose .campus__life--single:hover .campus__life--single--button a i {
    color: var(--rt-secondary) !important;
}

.choose .campus__life--single--title a {
    color: #fff !important;
}

.choose .campus__life--single--description {
    color: #fff !important;
}

.social-icons {
    z-index: 1000;
}

.footer {
    background-image: linear-gradient(rgba(132, 119, 119, 0.6), rgba(132, 126, 126, 0.6)), 
                      url("../../images/images/campus (2).jpg");
    background-size: cover;
    background-position: center;
    padding: 100px 0px 40px 0px;
}



@media screen and (max-width: 900px) {
    .header-logo{
        width: 180px;
        height: 43px;
    }
}

@media screen and (max-width: 600px) {
    .header-logo{
        width: 125px;
        height: 30px;
    }
}

.single-brand-logo a img {
    filter: none !important;

}

.campus-attractions .swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.campus-attractions .swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.campus-attractions .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.campus-attractions .swiper-slide-active {
    opacity: 1;
}

.campus-attractions .swiper-slide img {
    width: 100%;
    height: auto;
}

.campus-attractions .testimonial-item-image {
    width: 100%;
    height: auto;
    position: relative;
}

.campus-attractions .testimonial-item-image img {
    width: 100%;
    height: auto;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 40px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 200px;
    height: 200px;
    content: "";
    z-index: 2;
}

.light {
    background: #f6f6f6;
}

.badges .logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}

.recruitement .logos-slide {
    display: inline-block;
    animation: 70s slide infinite linear;
}

.mous .logos-slide {
    display: inline-block;
    animation: 185s slide infinite linear;
}

.logos-slide img {
    height: 200px;
    width: 200px;
    margin: 0 50px;
}

.placement img {
    height: 10rem;
    width: 15rem;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .placement img {
        height: 7rem;
        width: 10rem;
    }
}

@media only screen and (max-width: 767px) {
    .placement img {
        height: 7rem;
        width: 10rem;
    }
}